import request from "@/utils/Request";

export default class RecordApi {

  public static getList(typeId: number) {
    return request<any[]>('/api/record/getList', 'get', {typeId});
  }

  public static view(id: number) {
    return request<any>('/api/record/view', 'get', {id});
  }

}
